﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;

using DQYT.HTDZ.BLL;
using DQYT.HTDZ.Model;

namespace DQYT.HTDZ.Web.BDPULL
{
    public partial class Show : Page
    {        
        public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					decimal PULLID=(Convert.ToDecimal(strid));
					ShowInfo(PULLID);
				}
			}
		}
		
	private void ShowInfo(decimal PULLID)
	{
		BDPULLBLL bll=new BDPULLBLL();
		BDPULLModel model=bll.GetModel(PULLID);
		this.lblPULLID.Text=model.PULLID.ToString();
		this.lblCYJXH.Text=model.CYJXH;
		this.lblCYJLB.Text=model.CYJLB;
		this.lblSCCJ.Text=model.SCCJ;
		this.lblXDEDZH.Text=model.XDEDZH.ToString();
		this.lblGGZDCC.Text=model.GGZDCC.ToString();
		this.lblGGZDCCI.Text=model.GGZDCCI.ToString();
		this.lblJSQEDNJ.Text=model.JSQEDNJ.ToString();
		this.lblJSQXSDH.Text=model.JSQXSDH;
		this.lblPHFS.Text=model.PHFS;
		this.lblLGC.Text=model.LGC.ToString();
		this.lblQBC.Text=model.QBC.ToString();
		this.lblHBC.Text=model.HBC.ToString();
		this.lblQBZL.Text=model.QBZL.ToString();
		this.lblQBZXBJ.Text=model.QBZXBJ.ToString();
		this.lblQBZX.Text=model.QBZX;
		this.lblPDXHGG.Text=model.PDXHGG;
		this.lblPHKSL.Text=model.PHKSL.ToString();
		this.lblJSB.Text=model.JSB.ToString();
		this.lblZJZL.Text=model.ZJZL.ToString();
		this.lblZJCC.Text=model.ZJCC.ToString();
		this.lblJNCYJ.Text=model.JNCYJ;
		this.lblSCFS.Text=model.SCFS;
		this.lblJXFLM.Text=model.JXFLM;
		this.lblISVALID.Text=model.ISVALID.ToString();
		this.lblISUSED.Text=model.ISUSED.ToString();
		this.lblBJ.Text=model.BJ;

	}


    }
}
